home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: Bob Wade <bwade@nando.net>
- Newsgroups: comp.lang.c++
- Subject: Needed: Friend function example.
- Date: Sat, 13 Jan 1996 21:55:56 -0800
- Organization: News & Observer Public Access
- Message-ID: <30F89AEC.3673@nando.net>
- NNTP-Posting-Host: grail1920.nando.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b5 (Win16; I)
-
- Could someone please provide an example of a friend function which does
- not involve istream or ostream, and does not involve a global function?
- I am having trouble declaring a friend function which compiles. Making
- the class a friend works fine. Every source I have found has the same
- example. I know this stuff is supposed to be reusable but this is
- ridiculous! ;)
- Thanks in advance,
- Bob
-